<div class="row-fluid">
    <div class="span2">
    </div><!--/span-->
    <div class="span8">
        <div class="row-fluid">
            <div class="hero-unit">
                <div class="alert alert-info">
                    <strong>Tanggal <?php echo HR?></strong>
                </div>
                <div class="alert alert-info">
                    <button type="button" class="close" data-dismiss="alert">×</button>
                    <strong>Proses automatis berhasil mengambil data dari bank sebanyak : <?php echo count($info);?> baris.</strong>
                </div>
                <table class="table table-bordered table-striped">
                    <thead>
                        <tr>
                            <th>#</th>
                            <th>ID Transaksi</th>
                            <th>NOP</th>
                            <th>Nama</th>
                            <th>Tagihan</th>
                            <th>Tahun</th>
                            <th>Status Reversal</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php $i=1;foreach ($info as $data): ?>
                            <tr>
                                <td><?php echo $i?></td>
                                <td>
                                    <?php
                                    if ($data->sts_reversal == 1) {
                                        echo '<span class="label label-important">' . $data->id . '</span>';
                                    }else{
                                        echo $data->id;
                                    }
                                    ?>
                                </td>
                                <td>
                                    <?php echo $data->no_id ?>
                                </td>
                                <td>
                                    <?php echo $data->nama ?>
                                </td>
                                <td>
                                    <?php echo $data->tagihan ?>
                                </td>
                                <td>
                                    <?php echo $data->Tahun ?>
                                </td>
                                <td>
                                    <?php
                                    if ($data->sts_reversal == 1) {
                                        echo '<span class="label label-info">' . $data->sts_reversal . '</span>';
                                    }else{
                                        echo $data->sts_reversal;
                                    }
                                    ?>
                                </td>
                            </tr>
                        <?php $i++;endforeach; ?>
                    </tbody>
                </table>
            </div>
        </div>
    </div><!--/span-->
    <div class="span2"></div>
</div><!--/row-->